package com.neucor.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @author isakrabin
 */
@Entity
@Table(name = "member")
public class Member extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -9143618985948286348L;

    private String memberId;
    
    private String NRIC;
    
    private String firstname;
    
    private String lastname;
    
    private String address;
    
    private String postalCode;
    
    private String homephone;
    
    private String handphone;
    
    private String officephone;
    
    private String email;
    
    @Temporal(TemporalType.DATE)
    private Date dob;
    
    private String beneficiaryNRIC;
    
    private String beneficiaryFirstname;
    
    private String beneficiaryLastname;
    
    private String beneficiaryAddress;
    
    private String beneficiaryPostalCode;
    
    private String beneficiaryHomephone;
    
    private String beneficiaryHandphone;
    
    private String beneficiaryOfficephone;
    
    private String beneficiaryEmail;

    public Member() {
    }

    public Member(String NRIC, String firstname, String lastname) {
        this.NRIC = NRIC;
        this.firstname = firstname;
        this.lastname = lastname;
    }
    
    public String getNRIC() {
        return NRIC;
    }

    public void setNRIC(String NRIC) {
        this.NRIC = NRIC;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBeneficiaryAddress() {
        return beneficiaryAddress;
    }

    public void setBeneficiaryAddress(String beneficiaryAddress) {
        this.beneficiaryAddress = beneficiaryAddress;
    }

    public String getBeneficiaryEmail() {
        return beneficiaryEmail;
    }

    public void setBeneficiaryEmail(String beneficiaryEmail) {
        this.beneficiaryEmail = beneficiaryEmail;
    }

    public String getBeneficiaryFirstname() {
        return beneficiaryFirstname;
    }

    public void setBeneficiaryFirstname(String beneficiaryFirstname) {
        this.beneficiaryFirstname = beneficiaryFirstname;
    }

    public String getBeneficiaryHandphone() {
        return beneficiaryHandphone;
    }

    public void setBeneficiaryHandphone(String beneficiaryHandphone) {
        this.beneficiaryHandphone = beneficiaryHandphone;
    }

    public String getBeneficiaryHomephone() {
        return beneficiaryHomephone;
    }

    public void setBeneficiaryHomephone(String beneficiaryHomephone) {
        this.beneficiaryHomephone = beneficiaryHomephone;
    }

    public String getBeneficiaryLastname() {
        return beneficiaryLastname;
    }

    public void setBeneficiaryLastname(String beneficiaryLastname) {
        this.beneficiaryLastname = beneficiaryLastname;
    }

    public String getBeneficiaryNRIC() {
        return beneficiaryNRIC;
    }

    public void setBeneficiaryNRIC(String beneficiaryNRIC) {
        this.beneficiaryNRIC = beneficiaryNRIC;
    }

    public String getBeneficiaryOfficephone() {
        return beneficiaryOfficephone;
    }

    public void setBeneficiaryOfficephone(String beneficiaryOfficephone) {
        this.beneficiaryOfficephone = beneficiaryOfficephone;
    }

    public String getBeneficiaryPostalCode() {
        return beneficiaryPostalCode;
    }

    public void setBeneficiaryPostalCode(String beneficiaryPostalCode) {
        this.beneficiaryPostalCode = beneficiaryPostalCode;
    }

    public Date getDob() {
        return dob;
    }

    public void setDob(Date dob) {
        this.dob = dob;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstname() {
        return firstname;
    }

    public void setFirstname(String firstname) {
        this.firstname = firstname;
    }

    public String getHandphone() {
        return handphone;
    }

    public void setHandphone(String handphone) {
        this.handphone = handphone;
    }

    public String getHomephone() {
        return homephone;
    }

    public void setHomephone(String homephone) {
        this.homephone = homephone;
    }

    public String getLastname() {
        return lastname;
    }

    public void setLastname(String lastname) {
        this.lastname = lastname;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getOfficephone() {
        return officephone;
    }

    public void setOfficephone(String officephone) {
        this.officephone = officephone;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }
    
    
}
